import request from '@/request/api'
// 1、消缺期限配置-新增
export function addInfo(data) {
  return request({
    url: '/eam-service-configure/defectlevel/addlevel',
    method: 'get',
    params: data
  })
}
// 2、消缺期限配置-删除
export function deleteInfo(data) {
  return request({
    url: '/eam-service-configure/defectlevel/deleteById',
    method: "delete",
    params: data
  })
}
// 3、消缺期限配置-修改
export function updateInfo(data) {
  return request({
    url: '/eam-service-configure/defectlevel/updatelevel',
    method: 'get',
    params: data
  })
}
// 4、消缺期限配置-查询列表
export function queryList() {
  return request({
    url: '/eam-service-configure/defectlevel/queryList',
    method: 'get',
  })
}